package service

import (
	"boy-go/modules/demo/vo"
	"boy-go/pkg/request"
)

type TCompanyService interface {
	GetById(id int64) (*vo.TCompanyModel, error)
	List(req *vo.QueryTCompanyReq, pageReq *request.PageRequest) (*vo.ListTCompanyRsp, error)
	Add(req *vo.AddTCompanyReq) (*vo.AddTCompanyRsp, error)
	Edit(req *vo.EditTCompanyReq) (*vo.EditTCompanyRsp, error)
	Del(id int64) error
	BatchDel(ids []string) error
}
